/*
package com.winning.sjzc.common.config;

import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

*/
/**
 * description:
 *
 * @author yanxf@winning.com.cn
 * @date 2019/08/27 10:32
 *//*

@Configuration
public class FilterConfig {
  @Bean
  public FilterRegistrationBean registFilter() {
    FilterRegistrationBean registration = new FilterRegistrationBean();
    registration.setFilter(new LoginFilter());
    registration.addUrlPatterns("/*");
    registration.setName("loginFilter");
    registration.setOrder(1);
    return registration;
  }
}
*/
